<template>
  <div style="position:relative">
  <div class="pagetitle">项目经历</div>
  <div class="pageSecondtitle">来软件行业搞一场，总的记录一点东西的--旺旺小小圈（项目截图均已经取得原公司同意）</div>
  <div style="margin-top:60px;position: relative;background:#fff">
  <v-container >
    <v-row>
        <v-col
        md="6" lg="6" cols="12" 
        v-for="(item) of albumList"
        :key="item.id"
        >
    <v-card
        class="mx-auto overflow-auto rounded-0  "
      >
        <router-link :to="'/project/' + item.id">
        <v-img
          class="white--text align-end"
          height="300px"
          src="https://greazy-blog.oss-cn-hangzhou.aliyuncs.com/photos/a9a32b305b973f9ecf837a7b55b305c5.jpg"
        >
        <v-card-title>
                <div style="overflow: hidden;white-space: nowrap;text-overflow:ellipsis;font-size: 25px;"><b>{{item.name}}</b></div>
            </v-card-title>
        </v-img>
    </router-link>
      </v-card>   
      </v-col>
    </v-row>
  </v-container>
  </div>
    </div>
</template>
<script>
import EasyTyper from "easy-typer-js";
export default {
  created() {
        // this.getalbumsList()
  },
  data: function() {
    return {
    albumList:[
      {
        id:1,
        name:"个人blog系列"
      },
      {
        id:2,
        name:"售后机后台管理"
      },
      {
        id:3,
        name:"智慧能源分析仿真平台"
      },
      {
        id:4,
        name:"智慧能源能量综合平台"
      },
      {
        id:5,
        name:"盐城电气实训考试平台"
      },
    ],
    };
  },
    mounted() {
  },
  methods: {
    getalbumsList() {
      this.axios
        .get("/photos/albums/v2")
        .then(({ data }) => {
          if (data.data.length) {
            this.albumList = data.data
          }
        });
    },
    initTyped(input, fn, hooks) {
      const obj = this.obj;
      // eslint-disable-next-line no-unused-vars
      const typed = new EasyTyper(obj, input, fn, hooks);
    },

  },
  computed: {
    cover() {
      return "background: url(https://greazy-blog.oss-cn-hangzhou.aliyuncs.com/articles/aa7473e8e735cb26ce7ac07c0b493ca5.jpg) center center / cover no-repeat";
    }
  }
};
</script>

<style lang="stylus">
.typed-cursor
  opacity: 1
  animation: blink 0.7s infinite
@keyframes blink
  0%
    opacity: 1
  50%
    opacity: 0
  100%
    opacity: 1
// .waves
//     position: relative;
//     width: 100%;
//     height: 70vh;
//     min-height: 100px;
//     max-height: 150px;
//   @media (max-width 768px)
//     height 40px
//     min-height 40px
</style>

<style scoped>
.home-pagination{
  position:relative;
  background:#fff;
}
.home-font{
    position: relative;
}
.divFudong{
  position: relative;
}
.tuozhan{
  text-align: center;
  position: relative;
  height: 100px;
  width: 100%;
  background: rgb(255, 255, 255);
  margin-top: 0px;
}
.waves {
    position: relative;
    width: 100%;
    min-height: 100px;
    max-height: 200px;
    margin-bottom: -7px; /* 修复 Safari 等浏览器下方空隙 */
}
.home-wave{
  width: 100%;
  margin-top:40vh;
}

.parallax > use {
    animation: move-forever 1s cubic-bezier(0.5, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.home-banner {
  position: fixed;
  top: -60px;
  left: 0;
  right: 0;
  height: 100vh;
  background-attachment: fixed;
  text-align: center;
  color: #fff !important;
  animation: header-effect 1s;
}
.banner-container {
  margin-top: 43vh;
  line-height: 1.5;
  color: #eee;
}
.blog-contact a {
  color: #fff !important;
}
.card-info-social {
  line-height: 40px;
  text-align: center;
  margin: 6px 0 -6px;
}
.card-info-social a {
  font-size: 1.5rem;
}
.left-radius {
  border-radius: 8px 0 0 8px !important;
  order: 0;
}
.right-radius {
  border-radius: 0 8px 8px 0 !important;
  order: 1;
}
.article-wrapper {
  font-size: 14px;
}

.blog-intro {
  position: relative;
  font-size: 2.3rem;
  color: #eee;
  font-family:"楷体"; 
  text-align: center;
  margin-top: 200px;

}

@media (max-width: 759px) {
  .blog-title {
    font-size: 26px;
  }
  .blog-contact {
    font-size: 1.25rem;
    line-height: 2;
  }
  .home-container {
    width: 100%;
    margin: calc(100vh - 66px) auto 0 auto;
  }
  .article-card {
    margin-top: 1rem;
  }
  .article-cover {
    border-radius: 8px 8px 0 0 !important;
    height: 230px !important;
    width: 100%;
  }
  .article-cover div {
    border-radius: 8px 8px 0 0 !important;
  }
  .article-wrapper {
    padding: 1.25rem 1.25rem 1.875rem;
  }
  .article-wrapper a {
    font-size: 1.25rem;
    transition: all 0.3s;
  }
}
.scroll-down {
  bottom: 0;
  width: 100%;
}
.scroll-down i {
  font-size: 2rem;
}
.article-wrapper a:hover {
  color: #8e8cd8;
}
.article-info {
  font-size: 95%;
  color: #858585;
  line-height: 2;
  margin: 0.375rem 0;
}
.article-info a {
  font-size: 95%;
  color: #858585 !important;
}
.article-content {
  line-height: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-wrapper {
  position: sticky;
  top: 10px;
}
.blog-card {
  line-height: 2;
  padding: 1.25rem 1.5rem;
}
.author-wrapper {
  text-align: center;
}
.blog-info-wrapper {
  display: flex;
  justify-self: center;
  padding: 0.875rem 0;
}
.blog-info-data {
  flex: 1;
  text-align: center;
}
.blog-info-data a {
  text-decoration: none;
}
.collection-btn {
  text-align: center;
  z-index: 1;
  font-size: 14px;
  position: relative;
  display: block;
  background-color: #49b1f5;
  color: #fff !important;
  height: 32px;
  line-height: 32px;
  transition-duration: 1s;
  transition-property: color;
}
.collection-btn:before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #ff7242;
  content: "";
  transition-timing-function: ease-out;
  transition-duration: 0.5s;
  transition-property: transform;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.collection-btn:hover:before {
  transition-timing-function: cubic-bezier(0.45, 1.64, 0.47, 0.66);
  transform: scaleX(1);
}
.author-avatar {
  transition: all 0.5s;
}
.author-avatar:hover {
  transform: rotate(360deg);
}
.web-info {
  padding: 0.25rem;
  font-size: 0.875rem;
}
.scroll-down-effects {
  color: rgb(19, 17, 17) !important;
  text-align: center;
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.15);
  line-height: 2.0;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  animation: scroll-down-effect 1.5s infinite;
}
@keyframes scroll-down-effect {
  0% {
    top: 0;
    opacity: 0.4;
    filter: alpha(opacity=40);
  }
  50% {
    top: -16px;
    opacity: 1;
    filter: none;
  }
  100% {
    top: 0;
    opacity: 0.4;
    filter: alpha(opacity=40);
  }
}
.big i {
  color: #f00;
  animation: big 0.8s linear infinite;
}
@keyframes big {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
</style>
